package com.wuxiaoge.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 主键设备表
 * </p>
 *
 * @author tianwenjun
 * @since 2024-04-11
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Entity(name = "t_device_2400")
//@Proxy(lazy=false)
public class Device2400 implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Long deviceId;

    private Long userId;

    private Long batchId;

    private String deviceName;


    private String deviceNumber;

    private String dcBmsFwVersion;

    private String dcBmsHwVersion;

    private Integer position;

    private Integer upgradeStatus;

    private String status;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
